<!DOCTYPE html>
<html lang="en">

<head>
    <!-- <base href="https://www.niit.com.cn/"> -->
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- <meta http-equiv="refresh" content="1"> -->
    <title>第一章</title>

    <style>
        h3 {
            color: red;
        }
    </style>

    <link rel="stylesheet" href="html.css">

</head>

<body>

    <h3>meta实例：刷新时间</h3>
    去掉上面http-equiv的注释
    <p id="p_clock" class="clock"></p>

    <hr>
    <h3>下面是base标签的2个实例。</h3>
    去掉上面base href的注释
    <div>
        <video controls src="wp-content/uploads/2021/05/dreams-begin.mp4"></video>
        <img src="wp-content/uploads/2021/05/Rectangle-3.jpg" alt="" srcset="">
    </div>

</body>

</html>

<script>
    var p_clock = document.getElementById('p_clock');
    p_clock.innerText = (new Date()).toString();
</script>

<script>
    var name = prompt('Please Enter Your Name:', 'John');
    alert(name);
</script>